package com.yf.model.ai.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户聊天-会话VO
 *
 * @author : YiFei
 * @since : 2025/7/14 12:06
 */
@Schema(description = "用户聊天-会话VO")
@Data
public class UserChatConversationVO {

    /**
     * 会话ID
     */
    @Schema(description = "会话ID")
    private Long id;

    /**
     * 会话标题
     */
    @Schema(description = "会话标题")
    private String title;

    /**
     * 会话 Icon
     */
    @Schema(description = "会话 Icon")
    private String icon;

    /**
     * 最后活动时间
     */
    @Schema(description = "最后活动时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastActiveTime;
}
